<!--
 * @Author: White
 * @description: 表格内的列单独筛选
 * @LastEditTime: 2021-06-28 15:34:58
-->

<template>
  <el-table-column :label="colConfig.label">
    <span slot-scope="{ row }">
      <span :style="row.trend > 5? 'color: red' : 'color: blue'">{{row.trend }}</span>
    </span>
  </el-table-column>
</template>

<script>
export default {
  props: ["colConfig"],
};
</script>

<style>
</style>

